package com.example.common

import android.app.Application
import android.content.Context
import com.alibaba.android.arouter.launcher.ARouter

open class BaseApplication:Application() {
    companion object{
        lateinit var context: Context
        fun requireContext():Context{
            return context
        }
    }
    override fun onCreate() {
        super.onCreate()
        context=this.applicationContext

    }
}